//Test update, smarties121
#include <pthread.h>
#include <stdio.h>
#include <iostream>
#include "shell.h"
#include "mpi.h"

using namespace std;

int main (int argc, char *argv[])
{
  int rc = MPI_Init(&argc, &argv);
  if (rc != MPI_SUCCESS)
    {
      cout << "Error starting MPI program. Terminating now...." << endl;
      MPI_Abort(MPI_COMM_WORLD, rc);
    }

  Shell myShell;
  myShell.run();

  MPI_Finalize();
  pthread_exit(NULL);
}

